package com.ssm.circle.server.dao;

import com.ssm.circle.server.entity.po.ShareMoment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShareMomentDao {
    Boolean save(ShareMoment moment);

    Boolean delete(Long id);

    List<ShareMoment> selectByPage(@Param("start") int start, @Param("pageSize") int pageSize);

    ShareMoment queryById(Long momentId);

    void incrReplyCount(@Param("id") Long id, @Param("count") int count);
}
